#!/bin/bash

set -x

cd /tmp

rm -rf setuptools*
cp ~/setuptools-0.6c1.zip .
unzip setuptools-0.6c1.zip
cd setuptools-0.6c1
$PYTHON setup.py install
cd ..

rm -rf nose*
cp ~/nose-0.9.0.tar.gz .
tar xvfz nose-0.9.0.tar.gz
cd nose-0.9.0
$PYTHON setup.py install
cd ..

rm -rf Quixote*
cp ~/Quixote-2.4.tar.gz .
tar xvfz Quixote-2.4.tar.gz
cd Quixote-2.4
$PYTHON setup.py install
cd ..

rm -rf dnspython*
cp ~/dnspython-1.4.0.zip .
unzip dnspython-1.4.0.zip
cd dnspython-1.4.0
$PYTHON setup.py install
cd ..

rm -rf twill*
darcs get http://darcs.idyll.org/~t/projects/twill/ twill
cd twill
export TWILL_TEST_PORT=9999
#$PYTHON_BIN_PATH/nosetests --verbose --with-doctest --doctest-tests --include unit --exe
$PYTHON_BIN_PATH/nosetests --verbose

